IfSo\Services\GeolocationService\GeolocationService B

Total Complexity 95
Dependencies 6
Dependents 5
Total lines 306
Lines of code 248
Logical lines of code 158
Comment lines 11
Methods 22
Properties 7

Methods 22

Method Rating Maintainability Complexity Lines of code
get_location_by_ip()
B
48 21 27
update_localdb_status()
A
49 11 27
notifications_email()
A
48 8 30
get_user_ip()
S
55 6 19
get_cached_geo_data()
S
59 6 13
get_user_location()
S
61 6 11
send_session_to_localdb()
S
51 5 25
reset_notifications()
S
62 6 10
get_status()
S
60 4 12
get_localdb_session_status()
S
71 3 5
cache_geo_data()
S
58 2 15
log_geo_request()
S
71 3 5
can_send_notification()
S
67 2 8
license_data_value_changed()
S
76 2 4
get_instance()
S
73 2 5
get_geo_data()
S
62 2 10
get_daily_sessions_table_date_format()
S
82 1 3
get_localuser_db_name()
S
80 1 3
mark_notification_as_sent()
S
76 1 4
get_possible_notification_thresholds()
S
82 1 3
get_sess_notification_option_name()
S
80 1 3
__construct()
S
71 1 6